<%@page language="java" pageEncoding="UTF-8"%>
<%@include file="/views/common/include/taglib.jsp"%>
	<link type="text/css" rel="stylesheet" href="${ctx }/css/dlifestyle/sectionparent.css" source="widget" />
	<link type="text/css" rel="stylesheet" href="${ctx }/css/dlifestyle/admin.css" source="widget" />
       <section>
       		<div style="height:40px;line-height: 40px;">
              <div class="forword_area"></div>
			  <div class="location">当前位置：${sessionScope.currcent_position}</div>
           </div>
           <hr>
         <div class="panel panel-default">
         	<div class="editTitle">
   				<div style="height: 41px;width:190px;float:left;">
   						<img style="float:left;margin-left:37px;margin-top:9.5px;" src="${ctx}/images/new_edit.png" />
						<h4>缴费信息详情</h4>
				</div>
				<div>
					<a style="float:right;margin-right: 20px;margin-top: -2px;" title="关闭" onclick="cancel(${type},${house.id},'${detail.carNo}');"><img src="${ctx}/images/new_close.png" /></a>
				</div>
			</div>
			
			<div id="replyList" class="right" style="height: 150px;margin-top:-10px;">
				<div class="modal-header">
					
					<div id="form" class="form" style="min-height:50px;margin-top:10px;border-top:1px solid #edeef3;font-size:14px;">
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">业主信息：</span>
							<div class="fldetail-4l" >${house.cellName}${house.regionName}${house.buildingName}${house.unitName}${house.name}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">账单号：</span>
							<div class="fldetail-4r">${detail.carId}</div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">开始时间：</span>
							<div class="fldetail-4l"><fmt:formatDate value="${detail.startDate}" pattern="yyyy-MM-dd HH:mm"/></div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">结束时间：</span>
							<div class="fldetail-4r"><fmt:formatDate value="${detail.endDate}" pattern="yyyy-MM-dd HH:mm"/></div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">月数：</span>
							<div class="fldetail-4l">${detail.month}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">缴费状态：</span>
							<div class="fldetail-4r">
								<c:if test="${detail.state == 0}">缴费成功</c:if>
	                        	<c:if test="${detail.state == 1}">欠费</c:if>
	                        	<c:if test="${detail.state == 3}">预交费</c:if>
							</div>
						</div>
							
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">单价：</span>
							<div class="fldetail-4l">${detail.unitPrice}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">金额：</span>
							<div class="fldetail-4r">${detail.money}</div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">缴费方式：</span>
							<div class="fldetail-4l">
								<c:forEach items="${payWays }" var="item">
		                       		<c:if test="${item.value == info.payWay}">
		                       			${item.label}
		                       		</c:if>
		                        </c:forEach>
							</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">生成方式：</span>
							<div class="fldetail-4r">
								<c:if test="${detail.generateWay == 0}">初始化生成</c:if>
	                        	<c:if test="${detail.generateWay == 1}">定时任务生成</c:if>
	                        	<c:if test="${detail.generateWay == 2}">后台导入生成</c:if>
	                        	<c:if test="${detail.generateWay == 3}">预交费</c:if>
							</div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">操作人：</span>
							<div class="fldetail-4l">${detail.operator}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">操作人类型：</span>
							<div class="fldetail-4r">
								<c:if test="${detail.operatorType == 0}">物业</c:if>
	                        	<c:if test="${detail.operatorType == 1}">业主</c:if>
	                        </div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">支付机构订单号：</span>
							<div class="fldetail-4l">${detail.externalTradeNo}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">支付机构返回码：</span>
							<div class="fldetail-4r">${detail.externalRespCode}</div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">支付机构返回价格：</span>
							<div class="fldetail-4l">${detail.totalFee}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">收款账号：</span>
							<div class="fldetail-4r">${detail.collectAccount}</div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">发票类型 ：</span>
							<div class="fldetail-4l">${detail.billType}
								<c:if test="${detail.billType == 0}">不需要</c:if>
	                        	<c:if test="${detail.billType == 1}">个人</c:if>
	                        	<c:if test="${detail.billType == 2}">单位</c:if>
							</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">发票抬头：</span>
							<div class="fldetail-4r">${detail.billTitle}</div>
						</div>
						<div class="itemEdit" style="border-bottom:1px solid #CBD5DD;">
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">发票票号：</span>
							<div class="fldetail-4l">${detail.billNo}</div>
							<span class="col-sm-1 editlableDetail" style="font-size:14px;">支付时间：</span>
							<div class="fldetail-4r"><fmt:formatDate value="${detail.payTime}" pattern="yyyy-MM-dd HH:mm"/></div>
						</div>
						<div style="float:left;margin-left:45%;">
						<button style="margin-top: 20px;" class="buttonCancle" onclick="cancel(${type},${house.id},'${detail.carNo}');">返&nbsp;&nbsp;回</button>
						</div>
					</div>
				
				</div>
			</div>
							<%@include file="/views/common/footer.jsp"%>
		</div>
	  </section>
	<script
		src="${ctx}/js/controllers/property/carbilldetail/CarBillDetailListController.js"
		type="text/javascript">
	</script>
	<script type="text/javascript">
		var ctx = '${ctx}';
		setCtx(ctx);
	</script>    
